﻿@model Project_KhuyenMaiVang.Models.DangKyModel
@{
    ViewBag.Title = "DangKyDoanhNghiep";
    Layout = "~/Views/Shared/_LayoutDefault.cshtml";
}

<div id="FormDangKy" align="center">
    @using (Html.BeginForm())
    {
        <p align="left">
            &nbsp;</p>
        <table width="555" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="3">
                    <div align="left" class="TieuDeTheTable">
                        THÔNG TIN ĐĂNG NHẬP</div>
                </td>
            </tr>
            <tr>
                <td width="124">
                    &nbsp;
                </td>
                <td width="183">
                    Username:
                </td>
                <td width="244">@Html.EditorFor(model => model.ThongTinTaiKhoan.UserName)
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    Mật khẩu:
                </td>
                <td>@Html.EditorFor(model => model.ThongTinTaiKhoan.PassWord)
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    Xác nhận mật khẩu:
                </td>
                <td>@Html.EditorFor(model => model.ThongTinTaiKhoan.ConfirmPassWord)
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <div align="left" class="TieuDeTheTable">
                        THÔNG TIN DOANH NGHIỆP</div>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    Tên doanh nghiệp:
                </td>
                <td>@Html.EditorFor(model => model.ThongTinDoanhNghiep.TenDoanhNghiep)
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    Website:
                </td>
                <td>@Html.EditorFor(model => model.ThongTinDoanhNghiep.Web)
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                   Mã liên hệ:
                </td>
                <td>@Html.EditorFor(model => model.ThongTinDoanhNghiep.MaLienHe)
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    TaiKhoanPaypal:
                </td>
                <td>@Html.EditorFor(model => model.ThongTinMember.TaiKhoanPayPal)
                </td>
            </tr>
            <tr>
                <td>

                </td>
                <td>
                </td>
                <td>
                    <input type="submit" name="button2" id="button2" value="Submit" />
                </td>
            </tr>
                    <tr>
            @if (ViewBag.RegisterResult != null)
            { 
                <td style = "color:Red "><b>@ViewBag.RegisterResult</b></td>
            }
        </tr>
        </table>
    }
</div>
<div class="clearboth">
</div>

